4dd3aa420e6abd0e5d528ab37eaad9bd0b874491,activemq-karaf-itest/src/test/java/org/apache/activemq/karaf/itest/ObrFeatureTest.java,ObrFeatureTest,configure,#,36
Before Change
@Configuration
public static Option[] configure() {
Option[] options = append(
editConfigurationFilePut("etc/system.properties", "camel.version", MavenUtils.getArtifactVersion("org.apache.camel.karaf", "apache-camel")),
configure("obr"));
// can't see where these deps die in a paxexam container - vanilla distro unpack can install war feature ok
options = append(CoreOptions.mavenBundle("org.apache.xbean", "xbean-bundleutils").versionAsInProject(), options);
options = append(CoreOptions.mavenBundle("org.apache.xbean", "xbean-asm-util").versionAsInProject(), options);
return append(CoreOptions.mavenBundle("org.apache.xbean", "xbean-finder").versionAsInProject(), options);
}
After Change
@Configuration
public static Option[] configure() {
return new Option[] //
{
configure("obr"),
editConfigurationFilePut("etc/system.properties", "camel.version", camelVersion()),
};
}
@Test(timeout = 5 * 60 * 1000)